<?php
include ('top.ajax.php');

$posts=Post::getAllPosts($_GET['q']);
if(sizeof($posts)>0) {
	foreach($posts as $product){
		echo html_entity_decode($product['titre'])." \n";
	}
}

?>